3ad608c3faa014cb5d34c2b0c8c952815683659b,src/main/java/com/lothrazar/cyclicmagic/gui/wand/InventoryWand.java,InventoryWand,readFromNBT,#ItemStack#,108

Before Change


      NBTTagCompound item = (NBTTagCompound) items.getCompoundTagAt(i);
      int slot = item.getInteger("Slot");
      if (slot >= 0 && slot < INV_SIZE) {
        inv[slot] = UtilNBT.itemFromNBT(item);
      }
    }
    return inv;

After Change


      NBTTagCompound item = (NBTTagCompound) items.getCompoundTagAt(i);
      int slot = item.getInteger("Slot");
      if (slot >= 0 && slot < INV_SIZE) {
        inv.set(slot,  UtilNBT.itemFromNBT(item));
      }
    }
    return inv;